import { createWebHistory, createWebHashHistory, createRouter } from 'vue-router'
const routes = [
    {
        path: '/',
        name: "login",
        component: () => import('../view/login.vue')
    },
    {
        path: '/zhu',
        name: "zhu",
        component: () => import('../view/zhu.vue')
    },
    {
        path: '/xiu',
        name: "xiu",
        component: () => import('../view/xiu.vue')
    },
    //     {
    //     path: '/home',
    //     name: "home",
    //     component: () => import('../weidata/zhuye.vue')
    // },
    
    {
        path: '/delet',
        name: "delet",
        component: () => import('../view/delet.vue')
    }
]

const router = createRouter({
    history: createWebHashHistory(),
    routes,
})
export default router